package jok.decorator;

public class WriterDecoratorZip extends WriterDecorator {

	public WriterDecoratorZip(Writer writer) {
		super(writer);
	}

	@Override
	public void write() {
		super.write();
		this.clean();
	}

	private void clean() {
		System.out.println("清理");
	}
}
